PM3.6 - Meta Knight - Action - 0x11c
Entry Script
- if ((InternalConstantInt(PreviousAction) Equal scalar(286)))
- CreateInterrupt { interrupt_id: None, action: LandingFallSpecial, requirement: (OnGround) }
- FloatVariableSet { variable: LongtermAccessFloat(SpecialLandingLag), value: 12 }
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
- PreviousInterruptAddRequirement(AnimationEnd)
- SetEdgeSlide(Airbourne)
- SetAirGround(10)
- if ((InternalConstantInt(HorizontalCharacterVelocity) LessThan scalar(0)))
- ChangeSubactionRestartFrame(JumpB_2)
- else
- ChangeSubactionRestartFrame(JumpF_2)
- else
- CreateInterrupt { interrupt_id: Some(9992), action: LandingFallSpecial, requirement: (OnGround) }
- CreateInterrupt { interrupt_id: Some(10000), action: Wait, requirement: (AnimationEnd) }
- CreateInterrupt { interrupt_id: Some(10002), action: FallSpecial, requirement: (AnimationEnd) }
- DisableInterrupt(9992)
- IntVariableSet { variable: RandomAccessInt (0x0), value: 480 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 481 }
- loop Infinite times:
- if (OnGround)
- SetEdgeSlide(StayOn)
- if ((InternalConstantInt(CurrentSubaction) Equal RandomAccessInt (0x1)))
- UnknownEvent { namespace: 0x10, code: 0x4, unk1: 0x0, arguments: [Value(0), Value(8), Bool(true)] }
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 }), Bool(true)] }
- else
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 })] }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- EnableInterrupt(10000)
- DisableInterrupt(10002)
- else
- SetEdgeSlide(Airbourne)
- if ((InternalConstantInt(CurrentSubaction) Equal RandomAccessInt (0x0)))
- UnknownEvent { namespace: 0x10, code: 0x4, unk1: 0x0, arguments: [Value(0), Value(9), Bool(true)] }
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 1 }), Bool(true)] }
- else
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 1 })] }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- DisableInterrupt(10000)
- EnableInterrupt(10002)
- LoopRest
Exit Script
- ResetVerticalVelocityAndAcceleration(false)
- ChangeHurtBoxStateAll { state: Normal }
- UnknownEvent { namespace: 0xb, code: 0x2, unk1: 0x0, arguments: [Bool(true)] }
- ArticleAnimation(0)
- ModelChanger { reference: 1, switch_index: 2, bone_group_index: 0 }